
package jfc.core;

import java.awt.Point;
import java.awt.Rectangle;
import java.util.List;

/**
 *  @author Yann Le Gall
 *  ylegall@gmail.com
 *  Oct 27, 2009 9:46:08 PM
 */
public abstract class CardHolder extends Rectangle
{
    public CardHolder(Point p) {
        super(p, Card.SIZE);
    }

    public abstract Card peekTop();
    public abstract void add(List<Card> c);
    public abstract List<Card> remove(int num);
    public Point getDestination() {
        return getLocation();
    }
}
